reftests: Fix treeview-fixed-height test
authorBenjamin Otte <otte@redhat.com>
Wed, 27 Mar 2019 03:53:56 +0000 (04:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 29 Mar 2019 08:56:52 +0000 (09:56 +0100)
Convert -gtk-gradient() to linear-gradient in the CSS.

testsuite/reftests/treeview-fixed-height.css

index 4ac59da4308694a2a9ba093af9feefd0188481d2..a448ebca151458d5211b0601681ea56f8626afb8 100644 (file)
@@ -54,23 +54,19 @@ GtkCheckButton:selected {
 /* GRADIENTS */
 
 button, .notebook tab:active, .slider {
-    background-image: -gtk-gradient (linear, left top, left bottom,
-     from (shade (@color_base, 1.2)), to (@color_base));
+    background-image: linear-gradient(to bottom, shade (@color_base, 1.2), @color_base);
 }
 
 button:active, .notebook tab, .trough {
-    background-image: -gtk-gradient (linear, left top, left bottom,
-     from (shade (@color_base, 0.8)), to (@color_base));
+    background-image: linear-gradient(to bottom, shade (@color_base, 0.8), @color_base);
 }
 
 button.vertical, .slider.vertical {
-    background-image: -gtk-gradient (linear, left top, right top,
-     from (shade (@color_base, 1.2)), to (@color_base));
+    background-image: linear-gradient(to right, shade (@color_base, 1.2), @color_base);
 }
 
 button.vertical:active, .trough.vertical {
-    background-image: -gtk-gradient (linear, left top, right top,
-     from (shade (@color_base, 0.8)), to (@color_base));
+    background-image: linear-gradient(to right, shade (@color_base, 0.8), @color_base);
 }
 
 column-header > .button {
@@ -78,14 +74,12 @@ column-header > .button {
 }
 
 .progressbar {
-    background-image: -gtk-gradient (linear, left top, left bottom,
-     from (shade (@color_sel, 1.2)), to (@color_sel));
+    background-image: linear-gradient(to bottom, shade (@color_sel, 1.2), @color_sel);
     border-color: shade (@color_sel, 0.7);
 }
 
 .progressbar.vertical {
-    background-image: -gtk-gradient (linear, left top, right top,
-     from (shade (@color_sel, 1.2)), to (@color_sel));
+    background-image: linear-gradient(to right, shade (@color_sel, 1.2), @color_sel);
 }
 
 /* SPACING */